package cn.iocoder.yudao.module.of.controller.admin.taskapprovalhistory.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 记录任务的审批历史信息新增/修改 Request VO")
@Data
public class TaskApprovalHistorySaveReqVO {

    @Schema(description = "任务编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "25833")
    @NotNull(message = "任务编号不能为空")
    private Long taskId;

    @Schema(description = "任务的审批状态：1待审批、2审批通过、3审批不通过", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "任务的审批状态：1待审批、2审批通过、3审批不通过不能为空")
    private Integer approvalStatus;

    @Schema(description = "审批人id", example = "449")
    private Long approvalUserId;

    @Schema(description = "审批意见")
    private String approvalOpinion;

    @Schema(description = "审批时间")
    private LocalDateTime approvalTime;

}